<html>
  <head>
    <title>AppServerServiceAdapter</title>
    <link rel='stylesheet' type='text/css' href='../../../stylesheet.css' title='Style' />
  </head>
  <body>
    <table border='0' width='100%' cellpadding='1' cellspacing='0' summary=''>
      <tr>
        <td colspan='2' bgcolor='#EEEEFF' class='NavBarCell1'>
          <table border='0' cellpadding='0' cellspacing='3' summary=''>
            <tr align='center' valign='top'>
              <td bgcolor='#EEEEFF' class='NavBarCell1'>
                <a href='../../../overview-summary.html'>
                  <font class='NavBarFont1'>
                    <b>Overview</b>
                  </font>
                </a>&nbsp;
              </td>
              <td bgcolor='#EEEEFF' class='NavBarCell1'>
                <a href='package-summary.html'>
                  <font class='NavBarFont1'>
                    <b>Package</b>
                  </font>
                </a>&nbsp;
              </td>
              <td bgcolor='#FFFFFF' class='NavBarCell1Rev'>
                <font class='NavBarFont1Rev'>
                  <b>Unit</b>
                </font>&nbsp;
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    <hr />
    <h2>
      <font size='-1'>OpenEdge\CommonInfrastructure\Client</font>
      <br />CLASS AppServerServiceAdapter
    </h2>
    <p>CLASS OpenEdge.CommonInfrastructure.Client.AppServerServiceAdapter INHERITS <a href="../../../OpenEdge/CommonInfrastructure/Client/ServiceAdapter.cls.html" title="OpenEdge.CommonInfrastructure.Client.ServiceAdapter" target="classFrame">ServiceAdapter</a> </p>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
				<A NAME="property_summary"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
				<B>Property Summary</B></FONT></TH>
				</TR>
				
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>CHARACTER</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#property.AppServerName'>AppServerName</a>
          </b> PUBLIC GET SET 
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The logical name of the appserver to connect to; this logical name is used to retrieve the actual connection
      </td>
    </tr>
				</TABLE>&nbsp;<P>
				
				<A NAME="method_summary"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
				<B>Method Summary</B></FONT></TH>
				</TR>
				
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code></code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#()'>CONSTRUCTOR </a>
          </b>()
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code></code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#(character,character)'>CONSTRUCTOR </a>
          </b>(CHARACTER pcService, CHARACTER pcAppServerName)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#executerequest(openedge.commoninfrastructure.common.servicemessage.iservicerequest)'> ExecuteRequest</a>
          </b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/IServiceRequest.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.IServiceRequest" target="classFrame">IServiceRequest</a> poRequest)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Services a request. The service provider will call ExecuteResponse() in
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code><a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/IServiceResponse.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.IServiceResponse" target="classFrame">IServiceResponse</a></code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#executesyncrequest(openedge.commoninfrastructure.common.servicemessage.iservicerequest)'> ExecuteSyncRequest</a>
          </b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/IServiceRequest.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.IServiceRequest" target="classFrame">IServiceRequest</a> poRequest)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Services a request in a synchronous manner. The responses are returned from the
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#fetch(openedge.commoninfrastructure.common.servicemessage.ifetchrequest,openedge.commoninfrastructure.common.iusercontext)'> Fetch</a>
          </b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/IFetchRequest.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.IFetchRequest" target="classFrame">IFetchRequest</a> poRequest, <a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a> poContext)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Data fetch request (async).
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>HANDLE</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#getcallbackprocedure()'> GetCallbackProcedure</a>
          </b>()
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a procedure handle which will be used as the async event handler.
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>HANDLE</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#getservicelocation()'> GetServiceLocation</a>
          </b>()
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the ABL service or session handle on which to run the service interface.
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#save(openedge.commoninfrastructure.common.servicemessage.isaverequest,openedge.commoninfrastructure.common.iusercontext)'> Save</a>
          </b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/ISaveRequest.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.ISaveRequest" target="classFrame">ISaveRequest</a> poRequest, <a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a> poContext)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code>VOID</code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#setappservername(character)'> SetAppServerName</a>
          </b>(CHARACTER pcAppServerName)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External setter of appserver name
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code><a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/IFetchResponse.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.IFetchResponse" target="classFrame">IFetchResponse</a></code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#syncfetch(openedge.commoninfrastructure.common.servicemessage.ifetchrequest,INPUT-OUTPUT_openedge.commoninfrastructure.common.iusercontext)'> SyncFetch</a>
          </b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/IFetchRequest.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.IFetchRequest" target="classFrame">IFetchRequest</a> poRequest, INPUT-OUTPUT <a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a> poContext)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
    <tr bgcolor='white' class='TableRowColor'>
      <td align='right' valign='top' width='1%'>
        <font size='-1'>
          <code><a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/ISaveResponse.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.ISaveResponse" target="classFrame">ISaveResponse</a></code>
        </font>
      </td>
      <td>
        <code>
          <b>
            <a href='#syncsave(openedge.commoninfrastructure.common.servicemessage.isaverequest,INPUT-OUTPUT_openedge.commoninfrastructure.common.iusercontext)'> SyncSave</a>
          </b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/ISaveRequest.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.ISaveRequest" target="classFrame">ISaveRequest</a> poRequest, INPUT-OUTPUT <a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a> poContext)
        </code><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      </td>
    </tr>
				</TABLE>&nbsp;<P>
				
				<A NAME="property_detail"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
				<B>Property Detail</B></FONT></TH>
				</TR></TABLE>
				
    <a name='property.AppServerName'><!-- --></a>
    <h3>AppServerName</h3>
    <code>CHARACTER PUBLIC GET SET </code>
    <dl>
      <dd>The logical name of the appserver to connect to; this logical name is used to retrieve the actual connection <p> </dd>
      <dd>from the ConnectionManager </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
				<A NAME="method_detail"><!-- --></A>
				<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
				<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
				<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
				<B>Method Detail</B></FONT></TH>
				</TR></TABLE>
				
    <a name='()'><!-- --></a>
    <h3>CONSTRUCTOR</h3>
    <code>PUBLIC  
      <b>CONSTRUCTOR</b>()
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='(character,character)'><!-- --></a>
    <h3>CONSTRUCTOR</h3>
    <code>PUBLIC  
      <b>CONSTRUCTOR</b>(CHARACTER pcService, CHARACTER pcAppServerName)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='executerequest(openedge.commoninfrastructure.common.servicemessage.iservicerequest)'><!-- --></a>
    <h3>ExecuteRequest</h3>
    <code>OVERRIDE PUBLIC  VOID
      <b>ExecuteRequest</b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/IServiceRequest.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.IServiceRequest" target="classFrame">IServiceRequest</a> poRequest)
    </code>
    <dl>
      <dd>Services a request. The service provider will call ExecuteResponse() in <p> </dd>
      <dd>the ServiceMessageManager once it's done with the request and ready with a response (IServiceResponse); typically this will happen in a callback of some sort. </dd>
      <dd>
        <dl><!-- -->
          <dt>
            <b>Parameters:</b>
          </dt>
          <dd>IServiceRequest - An array of requests to service.<br/></dd>
        </dl>
      </dd>
    </dl>
    <hr />
    <a name='executesyncrequest(openedge.commoninfrastructure.common.servicemessage.iservicerequest)'><!-- --></a>
    <h3>ExecuteSyncRequest</h3>
    <code>OVERRIDE PUBLIC  <a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/IServiceResponse.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.IServiceResponse" target="classFrame">IServiceResponse</a>
      <b>ExecuteSyncRequest</b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/IServiceRequest.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.IServiceRequest" target="classFrame">IServiceRequest</a> poRequest)
    </code>
    <dl>
      <dd>Services a request in a synchronous manner. The responses are returned from the <p> </dd>
      <dd>ExecuteSyncRequest() call, rather than the service provider calling ExecuteResponse() in the ServiceMessageManager at a later time. </dd>
      <dd>
        <dl><!-- -->
          <dt>
            <b>Parameters:</b>
          </dt>
          <dd>IServiceRequest - An array of requests to service.<br/></dd>
          <dt>
            <b>Returns:</b>
          </dt>
          <dd>IServiceResponse An array of responses to the request.</dd>
        </dl>
      </dd>
    </dl>
    <hr />
    <a name='fetch(openedge.commoninfrastructure.common.servicemessage.ifetchrequest,openedge.commoninfrastructure.common.iusercontext)'><!-- --></a>
    <h3>Fetch</h3>
    <code>PROTECTED  VOID
      <b>Fetch</b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/IFetchRequest.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.IFetchRequest" target="classFrame">IFetchRequest</a> poRequest, <a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a> poContext)
    </code>
    <dl>
      <dd>Data fetch request (async). <p> </dd>
      <dd>
        <dl><!-- -->
          <dt>
            <b>Parameters:</b>
          </dt>
          <dd>IFetchRequest[] - An array of fetch requests.<br/>IUserContext - The context for this request.<br/></dd>
        </dl>
      </dd>
    </dl>
    <hr />
    <a name='getcallbackprocedure()'><!-- --></a>
    <h3>GetCallbackProcedure</h3>
    <code>PROTECTED  HANDLE
      <b>GetCallbackProcedure</b>()
    </code>
    <dl>
      <dd>Returns a procedure handle which will be used as the async event handler. <p> </dd>
      <dd>
        <dl><!-- -->
          <dt>
            <b>Returns:</b>
          </dt>
          <dd>handle A procedure handle.</dd>
        </dl>
      </dd>
    </dl>
    <hr />
    <a name='getservicelocation()'><!-- --></a>
    <h3>GetServiceLocation</h3>
    <code>PROTECTED  HANDLE
      <b>GetServiceLocation</b>()
    </code>
    <dl>
      <dd>Returns the ABL service or session handle on which to run the service interface. <p> </dd>
      <dd>
        <dl><!-- -->
          <dt>
            <b>Returns:</b>
          </dt>
          <dd>handle A server handle on which to run this service.</dd>
        </dl>
      </dd>
    </dl>
    <hr />
    <a name='save(openedge.commoninfrastructure.common.servicemessage.isaverequest,openedge.commoninfrastructure.common.iusercontext)'><!-- --></a>
    <h3>Save</h3>
    <code>PROTECTED  VOID
      <b>Save</b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/ISaveRequest.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.ISaveRequest" target="classFrame">ISaveRequest</a> poRequest, <a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a> poContext)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='setappservername(character)'><!-- --></a>
    <h3>SetAppServerName</h3>
    <code>PUBLIC  VOID
      <b>SetAppServerName</b>(CHARACTER pcAppServerName)
    </code>
    <dl>
      <dd>External setter of appserver name <p> </dd>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='syncfetch(openedge.commoninfrastructure.common.servicemessage.ifetchrequest,INPUT-OUTPUT_openedge.commoninfrastructure.common.iusercontext)'><!-- --></a>
    <h3>SyncFetch</h3>
    <code>PROTECTED  <a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/IFetchResponse.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.IFetchResponse" target="classFrame">IFetchResponse</a>
      <b>SyncFetch</b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/IFetchRequest.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.IFetchRequest" target="classFrame">IFetchRequest</a> poRequest, INPUT-OUTPUT <a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a> poContext)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
    <a name='syncsave(openedge.commoninfrastructure.common.servicemessage.isaverequest,INPUT-OUTPUT_openedge.commoninfrastructure.common.iusercontext)'><!-- --></a>
    <h3>SyncSave</h3>
    <code>PROTECTED  <a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/ISaveResponse.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.ISaveResponse" target="classFrame">ISaveResponse</a>
      <b>SyncSave</b>(<a href="../../../OpenEdge/CommonInfrastructure/Common/ServiceMessage/ISaveRequest.cls.html" title="OpenEdge.CommonInfrastructure.Common.ServiceMessage.ISaveRequest" target="classFrame">ISaveRequest</a> poRequest, INPUT-OUTPUT <a href="../../../OpenEdge/CommonInfrastructure/Common/IUserContext.cls.html" title="OpenEdge.CommonInfrastructure.Common.IUserContext" target="classFrame">IUserContext</a> poContext)
    </code>
    <dl>
      <dd>
        <dl><!-- --></dl>
      </dd>
    </dl>
    <hr />
  </body>
</html>